//
//  ClockView.h
//  ProjectB
//
//  Created by lanou on 16/5/6.
//  Copyright © 2016年 lanou. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface ClockView : UIView

@property (nonatomic, assign) NSInteger hour;
@property (nonatomic, assign) NSInteger minute;
@property (nonatomic, assign) NSInteger second;
@property (nonatomic, strong) NSDate *date;
@property (nonatomic, assign) BOOL autoRun;

- (instancetype)initWithFrame:(CGRect)frame hour:(NSInteger)hour minute:(NSInteger)minute second:(NSInteger)second autoRun:(BOOL)isRun;
- (instancetype)initWithFrame:(CGRect)frame date:(NSDate *)date autoRun:(BOOL)isRun;

- (void)changeColor;
- (void)setFirstSecond:(NSInteger)second;

@end
